package com.yuwenxin.bean;

import java.util.HashSet;


public class Category {
    private int id;
    private String categoryName;

    private HashSet<Music> musicSet = new HashSet<>();


    public HashSet<Music> getMusicSet() {
        return musicSet;
    }

    public void setMusicSet(HashSet<Music> musicSet) {
        this.musicSet = musicSet;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    @Override
    public String toString() {
        return "Category{" +
                "id=" + id +
                ", categoryName='" + categoryName + '\'' +
                ", musicSet=" + musicSet +
                '}';
    }
}
